package tds.model7.version2;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName DecoratePerson
 * @Description TODO（所有服饰父类)
 * @author tds
 * @Date 2019/2/20 9:34
 * @version 1.0.0
 */
public class Finery extends Person{

    protected Person person;

    //打扮
    public void decorate(Person person) {
        this.person = person;
    }

    @Override
    public void show() {
        if(person != null){
            person.show();
        }
    }
}
